package com.wc5818.wcComOrder.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author jobob
 * @since 2020-02-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WcComOrder implements Serializable {
    @TableField(exist = false)
    String taskName;

    @TableField(exist = false)
    String taskId;

    private static final long serialVersionUID = 1L;

    private Long id;
    /**
     * 订单号
     */
    private String ordernum;

    /**
     * 客户名称（冗余）
     */
    private String username;

    private String forbyusername;

    private String forbycarshopusername;

    /**
     * 订单状态
     */
    private String status;

    private Long carid;

    private String carname;


    /**
     * 真实姓名
     */

    @TableField("createTime")
    private LocalDateTime createTime;

    @TableField("updateTime")
    private LocalDateTime updateTime;

    /**
     * 车友id
     */
    @TableField("userId")
    private Integer userId;

    /**
     * 父级用户id（车友的上家）
     */
    @TableField("parentUserId")
    private Integer parentUserId;

    /**
     * 客户电话（冗余）
     */
    @TableField("userMobile")
    private String userMobile;

    /**
     * 关联接单者id
     */
    private Integer ownerid;
    private Float price;
    @TableField("basicId")
    private Integer basicId;

    @TableField("workId")
    private Integer workId;
    @TableField("carinfoId")
    private Integer carinfoId;
    @TableField("imgpathId")
    private Integer imgpathId;
    @TableField("uwId")
    private Integer uwId;


}
